\(\int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx\) [25]

   Optimal result
   Rubi [A] (warning: unable to verify)
   Mathematica [B] (verified)
   Maple [B] (verified)
   Fricas [F]
   Sympy [F(-1)]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 62, antiderivative size = 1128 \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {2 b d \left (9 a^3 C d f h-b^3 (2 B d e g-c (3 C e g-2 B f g-2 B e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h-b^3 (2 B d e g-c (3 C e g-2 B f g-2 B e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}-\frac {2 b \sqrt {d g-c h} \sqrt {f g-e h} \left (9 a^3 C d f h-b^3 (2 B d e g-c (3 C e g-2 B f g-2 B e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {2 \left (3 a^3 C d^2 f h-b^3 \left (2 B d^2 e g-B c^2 f h-c d (3 C e g-B f g-B e h)\right )-3 a^2 b d (B d f h+C (d f g+d e h-c f h))+a b^2 \left (3 B d^2 (f g+e h)+C \left (d^2 e g-c d f g-c d e h-2 c^2 f h\right )\right )\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{3 (b c-a d)^2 (b e-a f) (b g-a h)^{3/2} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}} \]

[Out]

2/3*b*d*(9*a^3*C*d*f*h-b^3*(2*B*d*e*g-c*(-2*B*e*h-2*B*f*g+3*C*e*g))+a*b^2*(C*(c*e*h+c*f*g+d*e*g)+4*B*(c*f*h+d*
e*h+d*f*g))-a^2*b*(6*B*d*f*h+5*C*(c*f*h+d*e*h+d*f*g)))*(b*x+a)^(1/2)*(f*x+e)^(1/2)*(h*x+g)^(1/2)/(-a*d+b*c)^2/
(-a*f+b*e)^2/(-a*h+b*g)^2/(d*x+c)^(1/2)-2/3*b^2*(B*b-2*C*a)*(d*x+c)^(1/2)*(f*x+e)^(1/2)*(h*x+g)^(1/2)/(-a*d+b*
c)/(-a*f+b*e)/(-a*h+b*g)/(b*x+a)^(3/2)-2/3*b^2*(9*a^3*C*d*f*h-b^3*(2*B*d*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a)^(1/2)*(-(-c*f+d*e)*(h*x+g)/(-e*h+f*g)/(d*x+c))^(1/2)/(-a*d+b*c)^2/(-a*f+b*e)^2/(-a*h+b*g)^2
/((-c*f+d*e)*(b*x+a)/(-a*f+b*e)/(d*x+c))^(1/2)/(h*x+g)^(1/2)

Rubi [A] (warning: unable to verify)

Time = 2.99 (sec) , antiderivative size = 1119, normalized size of antiderivative = 0.99, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {24, 1613, 1616, 12, 176, 430, 182, 435} \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=-\frac {2 \left (9 C d f h a^3-b (6 B d f h+5 C (d f g+d e h+c f h)) a^2+b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h)) a+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} b^2}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}-\frac {2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} b^2}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 \sqrt {d g-c h} \sqrt {f g-e h} \left (9 C d f h a^3-b (6 B d f h+5 C (d f g+d e h+c f h)) a^2+b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h)) a+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))\right ) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right ) b}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {2 d \left (9 C d f h a^3-b (6 B d f h+5 C (d f g+d e h+c f h)) a^2+b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h)) a+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x} b}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 \left (3 C d^2 f h a^3-3 b d (B d f h+C (d f g+d e h-c f h)) a^2+b^2 \left (3 B (f g+e h) d^2+C \left (-2 f h c^2-d f g c-d e h c+d^2 e g\right )\right ) a-b^3 \left (-B f h c^2-d (3 C e g-B f g-B e h) c+2 B d^2 e g\right )\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{3 (b c-a d)^2 (b e-a f) (b g-a h)^{3/2} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}} \]

[In]

Int[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^(7/2)*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(2*b*d*(9*a^3*C*d*f*h + b^3*(3*c*C*e*g - 2*B*d*e*g - 2*B*c*(f*g + e*h)) + a*b^2*(C*(d*e*g + c*f*g + c*e*h) + 4
*B*(d*f*g + d*e*h + c*f*h)) - a^2*b*(6*B*d*f*h + 5*C*(d*f*g + d*e*h + c*f*h)))*Sqrt[a + b*x]*Sqrt[e + f*x]*Sqr
t[g + h*x])/(3*(b*c - a*d)^2*(b*e - a*f)^2*(b*g - a*h)^2*Sqrt[c + d*x]) - (2*b^2*(b*B - 2*a*C)*Sqrt[c + d*x]*S
qrt[e + f*x]*Sqrt[g + h*x])/(3*(b*c - a*d)*(b*e - a*f)*(b*g - a*h)*(a + b*x)^(3/2)) - (2*b^2*(9*a^3*C*d*f*h +
b^3*(3*c*C*e*g - 2*B*d*e*g - 2*B*c*(f*g + e*h)) + a*b^2*(C*(d*e*g + c*f*g + c*e*h) + 4*B*(d*f*g + d*e*h + c*f*
h)) - a^2*b*(6*B*d*f*h + 5*C*(d*f*g + d*e*h + c*f*h)))*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/(3*(b*c - a*
d)^2*(b*e - a*f)^2*(b*g - a*h)^2*Sqrt[a + b*x]) - (2*b*Sqrt[d*g - c*h]*Sqrt[f*g - e*h]*(9*a^3*C*d*f*h + b^3*(3
*c*C*e*g - 2*B*d*e*g - 2*B*c*(f*g + e*h)) + a*b^2*(C*(d*e*g + c*f*g + c*e*h) + 4*B*(d*f*g + d*e*h + c*f*h)) -
a^2*b*(6*B*d*f*h + 5*C*(d*f*g + d*e*h + c*f*h)))*Sqrt[a + b*x]*Sqrt[-(((d*e - c*f)*(g + h*x))/((f*g - e*h)*(c
+ d*x)))]*EllipticE[ArcSin[(Sqrt[d*g - c*h]*Sqrt[e + f*x])/(Sqrt[f*g - e*h]*Sqrt[c + d*x])], ((b*c - a*d)*(f*g
 - e*h))/((b*e - a*f)*(d*g - c*h))])/(3*(b*c - a*d)^2*(b*e - a*f)^2*(b*g - a*h)^2*Sqrt[((d*e - c*f)*(a + b*x))
/((b*e - a*f)*(c + d*x))]*Sqrt[g + h*x]) - (2*(3*a^3*C*d^2*f*h - b^3*(2*B*d^2*e*g - B*c^2*f*h - c*d*(3*C*e*g -
 B*f*g - B*e*h)) - 3*a^2*b*d*(B*d*f*h + C*(d*f*g + d*e*h - c*f*h)) + a*b^2*(3*B*d^2*(f*g + e*h) + C*(d^2*e*g -
 c*d*f*g - c*d*e*h - 2*c^2*f*h)))*Sqrt[((b*e - a*f)*(c + d*x))/((d*e - c*f)*(a + b*x))]*Sqrt[g + h*x]*Elliptic
F[ArcSin[(Sqrt[b*g - a*h]*Sqrt[e + f*x])/(Sqrt[f*g - e*h]*Sqrt[a + b*x])], -(((b*c - a*d)*(f*g - e*h))/((d*e -
 c*f)*(b*g - a*h)))])/(3*(b*c - a*d)^2*(b*e - a*f)*(b*g - a*h)^(3/2)*Sqrt[f*g - e*h]*Sqrt[c + d*x]*Sqrt[-(((b*
e - a*f)*(g + h*x))/((f*g - e*h)*(a + b*x)))])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 24

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((A_.) + (B_.)*(v_) + (C_.)*(v_)^2), x_Symbol] :> Dist[1/b^2, Int[u*(a + b*
v)^(m + 1)*Simp[b*B - a*C + b*C*v, x], x], x] /; FreeQ[{a, b, A, B, C}, x] && EqQ[A*b^2 - a*b*B + a^2*C, 0] &&
 LeQ[m, -1]

Rule 176

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x
_Symbol] :> Dist[2*Sqrt[g + h*x]*(Sqrt[(b*e - a*f)*((c + d*x)/((d*e - c*f)*(a + b*x)))]/((f*g - e*h)*Sqrt[c +
d*x]*Sqrt[(-(b*e - a*f))*((g + h*x)/((f*g - e*h)*(a + b*x)))])), Subst[Int[1/(Sqrt[1 + (b*c - a*d)*(x^2/(d*e -
 c*f))]*Sqrt[1 - (b*g - a*h)*(x^2/(f*g - e*h))]), x], x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d
, e, f, g, h}, x]

Rule 182

Int[Sqrt[(c_.) + (d_.)*(x_)]/(((a_.) + (b_.)*(x_))^(3/2)*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x
_Symbol] :> Dist[-2*Sqrt[c + d*x]*(Sqrt[(-(b*e - a*f))*((g + h*x)/((f*g - e*h)*(a + b*x)))]/((b*e - a*f)*Sqrt[
g + h*x]*Sqrt[(b*e - a*f)*((c + d*x)/((d*e - c*f)*(a + b*x)))])), Subst[Int[Sqrt[1 + (b*c - a*d)*(x^2/(d*e - c
*f))]/Sqrt[1 - (b*g - a*h)*(x^2/(f*g - e*h))], x], x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e
, f, g, h}, x]

Rule 430

Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]
))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && Gt
Q[a, 0] &&  !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])

Rule 435

Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*Ell
ipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0
]

Rule 1613

Int[(((a_.) + (b_.)*(x_))^(m_)*((A_.) + (B_.)*(x_)))/(Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(
g_.) + (h_.)*(x_)]), x_Symbol] :> Simp[(A*b^2 - a*b*B)*(a + b*x)^(m + 1)*Sqrt[c + d*x]*Sqrt[e + f*x]*(Sqrt[g +
 h*x]/((m + 1)*(b*c - a*d)*(b*e - a*f)*(b*g - a*h))), x] - Dist[1/(2*(m + 1)*(b*c - a*d)*(b*e - a*f)*(b*g - a*
h)), Int[((a + b*x)^(m + 1)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]))*Simp[A*(2*a^2*d*f*h*(m + 1) - 2*a*b*(
m + 1)*(d*f*g + d*e*h + c*f*h) + b^2*(2*m + 3)*(d*e*g + c*f*g + c*e*h)) - b*B*(a*(d*e*g + c*f*g + c*e*h) + 2*b
*c*e*g*(m + 1)) - 2*((A*b - a*B)*(a*d*f*h*(m + 1) - b*(m + 2)*(d*f*g + d*e*h + c*f*h)))*x + d*f*h*(2*m + 5)*(A
*b^2 - a*b*B)*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, h, A, B}, x] && IntegerQ[2*m] && LtQ[m, -1]

Rule 1616

Int[((A_.) + (B_.)*(x_) + (C_.)*(x_)^2)/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*
(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_Symbol] :> Simp[C*Sqrt[a + b*x]*Sqrt[e + f*x]*(Sqrt[g + h*x]/(b*f*h*Sqrt[c
+ d*x])), x] + (Dist[1/(2*b*d*f*h), Int[(1/(Sqrt[a + b*x]*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]))*Simp[2*A
*b*d*f*h - C*(b*d*e*g + a*c*f*h) + (2*b*B*d*f*h - C*(a*d*f*h + b*(d*f*g + d*e*h + c*f*h)))*x, x], x], x] + Dis
t[C*(d*e - c*f)*((d*g - c*h)/(2*b*d*f*h)), Int[Sqrt[a + b*x]/((c + d*x)^(3/2)*Sqrt[e + f*x]*Sqrt[g + h*x]), x]
, x]) /; FreeQ[{a, b, c, d, e, f, g, h, A, B, C}, x]

Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {b^2 (b B-a C)+b^3 C x}{(a+b x)^{5/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b^2} \\ & = -\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}+\frac {\int \frac {b^2 \left (b^2 C (3 b c e g-a (d e g+c f g+c e h))-(b B-a C) \left (3 a^2 d f h+2 b^2 (d e g+c f g+c e h)-3 a b (d f g+d e h+c f h)\right )\right )+b^3 (b B-2 a C) (3 a d f h-b (d f g+d e h+c f h)) x}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{3 b^2 (b c-a d) (b e-a f) (b g-a h)} \\ & = -\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}+\frac {\int \frac {b^2 \left (b^2 (b B-2 a C) (b c e g-a (d e g+c f g+c e h)) (3 a d f h-b (d f g+d e h+c f h))-a (a d f h-b (d f g+d e h+c f h)) \left (b^2 C (3 b c e g-a (d e g+c f g+c e h))-(b B-a C) \left (3 a^2 d f h+2 b^2 (d e g+c f g+c e h)-3 a b (d f g+d e h+c f h)\right )\right )\right )+b^3 (a d f h+b (d f g+d e h+c f h)) \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) x+2 b^4 d f h \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{3 b^2 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2} \\ & = \frac {2 b d \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}+\frac {\int -\frac {2 b^3 d f (b e-a f) h (b g-a h) \left (3 a^3 C d^2 f h-3 a^2 b d (B d f h+C (d f g+d e h-c f h))-b^3 \left (2 B d^2 e g-B c^2 f h-c d (3 C e g-B (f g+e h))\right )+a b^2 \left (3 B d^2 (f g+e h)+C \left (d^2 e g-2 c^2 f h-c d (f g+e h)\right )\right )\right )}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{6 b^3 d (b c-a d)^2 f (b e-a f)^2 h (b g-a h)^2}+\frac {\left (b (d e-c f) (d g-c h) \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right )\right ) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2} \\ & = \frac {2 b d \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}-\frac {\left (3 a^3 C d^2 f h-3 a^2 b d (B d f h+C (d f g+d e h-c f h))-b^3 \left (2 B d^2 e g-B c^2 f h-c d (3 C e g-B (f g+e h))\right )+a b^2 \left (3 B d^2 (f g+e h)+C \left (d^2 e g-2 c^2 f h-c d (f g+e h)\right )\right )\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{3 (b c-a d)^2 (b e-a f) (b g-a h)}-\frac {\left (2 b (d g-c h) \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {\frac {(-d e+c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}} \\ & = \frac {2 b d \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}-\frac {2 b \sqrt {d g-c h} \sqrt {f g-e h} \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {\left (2 \left (3 a^3 C d^2 f h-3 a^2 b d (B d f h+C (d f g+d e h-c f h))-b^3 \left (2 B d^2 e g-B c^2 f h-c d (3 C e g-B (f g+e h))\right )+a b^2 \left (3 B d^2 (f g+e h)+C \left (d^2 e g-2 c^2 f h-c d (f g+e h)\right )\right )\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{3 (b c-a d)^2 (b e-a f) (b g-a h) (f g-e h) \sqrt {c+d x} \sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}} \\ & = \frac {2 b d \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {c+d x}}-\frac {2 b^2 (b B-2 a C) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d) (b e-a f) (b g-a h) (a+b x)^{3/2}}-\frac {2 b^2 \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {a+b x}}-\frac {2 b \sqrt {d g-c h} \sqrt {f g-e h} \left (9 a^3 C d f h+b^3 (3 c C e g-2 B d e g-2 B c (f g+e h))+a b^2 (C (d e g+c f g+c e h)+4 B (d f g+d e h+c f h))-a^2 b (6 B d f h+5 C (d f g+d e h+c f h))\right ) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{3 (b c-a d)^2 (b e-a f)^2 (b g-a h)^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {2 \left (3 a^3 C d^2 f h-b^3 \left (2 B d^2 e g-B c^2 f h-c d (3 C e g-B f g-B e h)\right )-3 a^2 b d (B d f h+C (d f g+d e h-c f h))+a b^2 \left (3 B d^2 (f g+e h)+C \left (d^2 e g-c d f g-c d e h-2 c^2 f h\right )\right )\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{3 (b c-a d)^2 (b e-a f) (b g-a h)^{3/2} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}} \\ \end{align*}

Mathematica [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(10836\) vs. \(2(1128)=2256\).

Time = 40.01 (sec) , antiderivative size = 10836, normalized size of antiderivative = 9.61 \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Result too large to show} \]

[In]

Integrate[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^(7/2)*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

Result too large to show

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(3424\) vs. \(2(1056)=2112\).

Time = 10.27 (sec) , antiderivative size = 3425, normalized size of antiderivative = 3.04

method result size
elliptic \(\text {Expression too large to display}\) \(3425\)
default \(\text {Expression too large to display}\) \(110289\)

[In]

int((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(7/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x,method=_RETURNVE
RBOSE)

[Out]

((b*x+a)*(d*x+c)*(f*x+e)*(h*x+g))^(1/2)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2)*(2/3/(a^3*d*f*
h-a^2*b*c*f*h-a^2*b*d*e*h-a^2*b*d*f*g+a*b^2*c*e*h+a*b^2*c*f*g+a*b^2*d*e*g-b^3*c*e*g)*(B*b-2*C*a)*(b*d*f*h*x^4+
a*d*f*h*x^3+b*c*f*h*x^3+b*d*e*h*x^3+b*d*f*g*x^3+a*c*f*h*x^2+a*d*e*h*x^2+a*d*f*g*x^2+b*c*e*h*x^2+b*c*f*g*x^2+b*
d*e*g*x^2+a*c*e*h*x+a*c*f*g*x+a*d*e*g*x+b*c*e*g*x+a*c*e*g)^(1/2)/(x+a/b)^2+2/3*(b*d*f*h*x^3+b*c*f*h*x^2+b*d*e*
h*x^2+b*d*f*g*x^2+b*c*e*h*x+b*c*f*g*x+b*d*e*g*x+b*c*e*g)*b/(a^3*d*f*h-a^2*b*c*f*h-a^2*b*d*e*h-a^2*b*d*f*g+a*b^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*g-C*a*b^2*d*e*g-3*C*b^3*c*e*g)/(a^3*d*f*h-a^2*b*c*f*h-a^2*b*d*e*h-a^2*b*d*f*g+a*b^2*c*e*h+a*b^2*c*f
*g+a*b^2*d*e*g-b^3*c*e*g)^2*((x+a/b)*(x+e/f)*(x+g/h)+(g/h-a/b)*((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2)*(
x+c/d)^2*((-c/d+a/b)*(x+e/f)/(-e/f+a/b)/(x+c/d))^(1/2)*((-c/d+a/b)*(x+g/h)/(-g/h+a/b)/(x+c/d))^(1/2)*((a*c/b/d
-g/h*a/b+g/h*c/d+c^2/d^2)/(-g/h+c/d)/(-c/d+a/b)*EllipticF(((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2),((e/f-
c/d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2))+(-a/b+e/f)*EllipticE(((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2
),((e/f-c/d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2))/(-c/d+a/b)+(a*d*f*h+b*c*f*h+b*d*e*h+b*d*f*g)/b/d/f/h/(-g/
h+c/d)*EllipticPi(((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2),(g/h-a/b)/(-c/d+g/h),((e/f-c/d)*(g/h-a/b)/(-a/
b+e/f)/(-c/d+g/h))^(1/2))))/(b*d*f*h*(x+a/b)*(x+c/d)*(x+e/f)*(x+g/h))^(1/2))

Fricas [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{\frac {7}{2}} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(7/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm
="fricas")

[Out]

integral((C*b*x - C*a + B*b)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)/(b^3*d*f*h*x^6 + a^3*c*e*
g + (b^3*d*f*g + (b^3*d*e + (b^3*c + 3*a*b^2*d)*f)*h)*x^5 + ((b^3*d*e + (b^3*c + 3*a*b^2*d)*f)*g + ((b^3*c + 3
*a*b^2*d)*e + 3*(a*b^2*c + a^2*b*d)*f)*h)*x^4 + (((b^3*c + 3*a*b^2*d)*e + 3*(a*b^2*c + a^2*b*d)*f)*g + (3*(a*b
^2*c + a^2*b*d)*e + (3*a^2*b*c + a^3*d)*f)*h)*x^3 + ((3*(a*b^2*c + a^2*b*d)*e + (3*a^2*b*c + a^3*d)*f)*g + (a^
3*c*f + (3*a^2*b*c + a^3*d)*e)*h)*x^2 + (a^3*c*e*h + (a^3*c*f + (3*a^2*b*c + a^3*d)*e)*g)*x), x)

Sympy [F(-1)]

Timed out. \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Timed out} \]

[In]

integrate((C*b**2*x**2+B*b**2*x+B*a*b-C*a**2)/(b*x+a)**(7/2)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{\frac {7}{2}} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(7/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm
="maxima")

[Out]

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^(7/2)*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x
)

Giac [F]

\[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{\frac {7}{2}} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^(7/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm
="giac")

[Out]

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^(7/2)*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x
)

Mupad [F(-1)]

Timed out. \[ \int \frac {a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^{7/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {-C\,a^2+B\,a\,b+C\,b^2\,x^2+B\,b^2\,x}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,{\left (a+b\,x\right )}^{7/2}\,\sqrt {c+d\,x}} \,d x \]

[In]

int((C*b^2*x^2 - C*a^2 + B*a*b + B*b^2*x)/((e + f*x)^(1/2)*(g + h*x)^(1/2)*(a + b*x)^(7/2)*(c + d*x)^(1/2)),x)

[Out]

int((C*b^2*x^2 - C*a^2 + B*a*b + B*b^2*x)/((e + f*x)^(1/2)*(g + h*x)^(1/2)*(a + b*x)^(7/2)*(c + d*x)^(1/2)), x
)